package com.zjmzxfzhl.modules.purchase.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zjmzxfzhl.modules.purchase.controller.dto.PurchaseOrderDto;
import com.zjmzxfzhl.modules.purchase.controller.vo.PurchaseOrderVo;
import com.zjmzxfzhl.modules.purchase.entity.PurchaseOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Mapper
 *
 * @author 庄金明
 */
public interface PurchaseOrderMapper extends BaseMapper<PurchaseOrder> {
    /**
     * 查询列表
     *
     * @param page
     * @param entity
     * @return
     */
    List<PurchaseOrderVo> list(IPage<PurchaseOrderVo> page, @Param("entity") PurchaseOrderDto entity);


}
